package org.eiahe.hr.interview.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.ehe.common.mybatis.core.domain.BaseEntity2;

/**
 * 面试题目记录表
 * @author
 * @date
 */
@Data
@TableName("t_interview_question_record")
public class InterviewQuestionRecord extends BaseEntity2 {

    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 面试记录ID
     */
    @TableField("interview_id")
    private Long interviewId;

    /**
     * 题目ID
     */
    @TableField("question_id")
    private Long questionId;

    /**
     * 候选人回答
     */
    @TableField("candidate_answer")
    private String candidateAnswer;

    /**
     * 题目得分(1-10分)
     */
    @TableField("score")
    private Integer score;

    /**
     * 面试官针对此题的评价
     */
    @TableField("interviewer_comments")
    private String interviewerComments;

    /**
     * 题目顺序
     */
    @TableField("question_order")
    private Integer questionOrder;

}
